//
//  PrescriptionOrderDoctorInfoPayCell.swift
//  EyeVisionForPatients
//
//  Created by PMC on 2020/3/3.
//  Copyright © 2020 tao Tao. All rights reserved.
//

import UIKit

class PrescriptionOrderDoctorInfoPayCell: UITableViewCell {
    
    @IBOutlet private weak var hospitalLabel: UILabel!
    @IBOutlet private weak var timeLabel: UILabel!
    @IBOutlet private weak var nameLabel: UILabel!
    @IBOutlet private weak var phoneLabel: UILabel!
    
    func bind(to viewModel: PrescriptionOrderDetailCellViewModel) {
        hospitalLabel.text = viewModel.hospitalName
        timeLabel.text = viewModel.makeTime
        nameLabel.text = viewModel.doctorName
        phoneLabel.text = viewModel.hospitalPhone
    }
}
